package com.sxpi.chapter.service.vip;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: 董伟豪
 * @Date: 2022/12/30 18:26
 */
@Slf4j
public class VipUserServiceImpl implements IUserVipService{

    @Override
    public Double getMoney(Double money) {
        return money * 0.6;
    }

    @Override
    public Double getCorn(Double corn) {
        return money * 0.45;
    }
}
